from django.urls import path
from django import urls
from django.conf.urls import include, url
from .users.views import CaptchaView, ImgCheckCode, RigisterView, loginView

from .ops.jenkins.views import jenkinsPlug, jenkinsCreateJob, jenkinsGetJobConfig
from .ops.ansible.controller.testRuner import runAdhoc
from .ops.cmdb.views import manualInfo, autoInfo, exhibitionData
from .ops.scan.views import scan_ip
from .ops.huaweiyun.controller.huaweiyunApi import novaListCounts, novaListServers, novaListVolumes
from .ops.huaweiyun.controller.test import testApi

urlpatterns = [
    path('ops/', include('TwoApp.ops.gitlab.urls')),
    # url('imagecode/', CaptchaView.as_view()),
    # url('imgCode/', ImgCheckCode.as_view()),
    # url('Rigister/', RigisterView.as_view()),
    # url('login/', loginView.as_view()),
    # url('gitlabviews/', gitlabViews.as_view()),
    # url('jenkinsPlug/', jenkinsPlug.as_view()),
    # url('createJob/', jenkinsCreateJob.as_view()),
    # url('getJobConfig/', jenkinsGetJobConfig.as_view()),
    # url('andhoc/', runAdhoc.as_view()),
    # url('manualinfo/', manualInfo.as_view()),
    # url('upload/', autoInfo.as_view()),
    # url('exdata/', exhibitionData.as_view()),
    # url('scan/', scan_ip.as_view()),
    # url('listZones/', novaListCounts.as_view()),
    # url('listServers/', novaListVolumes.as_view()),
    # url('testapi/', testApi.as_view()),

]
